package com.example.a111;

import androidx.appcompat.app.AppCompatActivity;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.View;

public class finishActivity extends AppCompatActivity implements View.OnClickListener {

    @SuppressLint("MissingInflatedId")
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_finish);
        findViewById(R.id.iv_back).setOnClickListener(this);
        findViewById(R.id.finish).setOnClickListener(this);
    }
    @Override
    public void onClick(View v){
        if (v.getId() == R.id.iv_back || v.getId() == R.id.finish){
            finish();
        }
    }
}